/*
* Copyright (c)  2017, ueboot.com
* All rights reserved.
* 2017-10-10 22:17:54
*/
package com.ueboot.weishop.service.setting;

import com.ueboot.weishop.entity.setting.SpecificationEntity;
import com.ueboot.core.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by yangkui  on 2017-10-10 22:17:54.
 *
 * @since 2.0 by autocode
 */
public interface SpecificationService extends BaseService<SpecificationEntity> {

    Page<SpecificationEntity> findByCategoryId(Pageable pageable,Long categoryId);
    List<SpecificationEntity> findByCategoryId(Long categoryId);

}
